package co.com.smart.persistence.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import co.com.smart.persistence.entity.dto.SmartPaciente;
import co.com.smart.persistence.entity.util.AbstractFacade;

	/**
	 * Session Bean implementation class PacientesFacade
	 */
	@Stateless(
			name		= "PacientesFacade", 
			mappedName 	= "ejb/PacientesFacade")
	public class PacientesFacade extends AbstractFacade<SmartPaciente> implements PacientesFacadeLocal {

		@PersistenceContext(unitName = "SnakeServicesPU")
		private EntityManager em;
	    /**
	     * Default constructor. 
	     */
	    public PacientesFacade() {
	    	super(SmartPaciente.class);
	    }

		@Override
		protected EntityManager getEntityManager() {
			return em;
		}

}
